import Vue from 'vue';
import ElementUI from 'element-ui';

import App from './App.vue';
import router from './router';
import store from './store';

import 'element-ui/lib/theme-chalk/index.css';
import 'font-awesome/css/font-awesome.min.css';

import LunarCalendar from './components/LunarCalendar.vue';
import PCASChooser from './components/PCASChooser.vue';
import RCBar from './components/RCBar.vue';

Vue.config.productionTip = false;

Vue.use(ElementUI);

// 定义全局组件。天下无人不识君
// 意思是这个日历就每一个vue都可以引用
Vue.component('LunarCalendar', LunarCalendar);
Vue.component('PCASChooser', PCASChooser);
Vue.component('RCBar', RCBar);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
